<?php

use Illuminate\Database\Migrations\Migration;

class CreateTruongbomonTable extends Migration
{
    /**
    * Run the migrations.
    *
    * @return void
    */
    public function up()
    {
        Schema::create('truong_bo_mon', function($table)
        {
            $table->engine='InnoDB';
            $table->increments('id')->unsigned();
            $table->integer('id_bo_mon')->unsigned();
            $table->integer('id_can_bo')->unsigned();
            $table->date('ngay_nhan_chuc');
        });
    }

    /**
    * reverse the migrations.
    *
    * @return void
    */
    public function down()
    {
        Schema::drop('truong_bo_mon');
    }
}